/*
 * Copyright (c) 2021
 * User:mallplus多商户商城
 * File:SmsCouponHistoryMapper.java
 * Date:2021/01/12 19:29:12
 */

package com.qyine.rlmall.sms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qyine.rlmall.sms.entity.SmsCouponHistory;
import com.qyine.rlmall.sms.vo.SmsCouponHistoryDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 优惠券使用、领取历史表 Mapper 接口
 * </p>
 *
 * @author zscat
 * @since 2019-04-19
 */
public interface SmsCouponHistoryMapper extends BaseMapper<SmsCouponHistory> {

    List<SmsCouponHistoryDetail> getDetailList(Long memberId);
    List<SmsCouponHistoryDetail> getDetailList(@Param("memberId") Long memberId, @Param("storeId") Integer storeId);
}
